package com.koron.css2.serviceManage.bean;

import java.util.List;

/**
 * 服务表 实体类
 * 
 * @author DaiSy
 *
 */
public class TService {
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	private String ip;
	/**
	 * 主键
	 */
	private String serviceId;
	/**
	 * 标识
	 */
	private String serviceCode;
	/**
	 * 类名
	 */
	private String className;
	/**
	 * 输入参数样例
	 */
	private String importExample;
	/**
	 * 输出参数样例
	 */
	private String outputExample;
	/**
	 * 调用次数
	 */
	private Integer callCount;
	/**
	 * 状态
	 */
	private Integer status;
	/**
	 * 备注
	 */
	private String comments;
	/**
	 * 创建时间
	 */
	private String createTime;
	/**
	 * 创建人
	 */
	private String createName;
	/**
	 * 修改时间
	 */
	private String updateTime;
	/**
	 * 修改人
	 */
	private String updateName;
	/**
	 * 是否是连接主库
	 * 1 则为主库
	 * 2 则为从库
	 * 默认主库
	 */
	private Integer dbMaster; 
	/**
	 * 子系统与服务管理详细
	 */
	private List<TServiceDetail> tServiceDetails;
	
	public Integer getDbMaster() {
		return dbMaster;
	}

	public void setDbMaster(Integer dbMaster) {
		this.dbMaster = dbMaster;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public List<TServiceDetail> gettServiceDetails() {
		return tServiceDetails;
	}

	public void settServiceDetails(List<TServiceDetail> tServiceDetails) {
		this.tServiceDetails = tServiceDetails;
	}

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to
	 * the database table pub_service
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.service_id
	 *
	 * @return the value of pub_service.service_id
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public String getServiceId() {
		return serviceId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.service_id
	 *
	 * @param serviceId
	 *            the value for pub_service.service_id
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.service_code
	 *
	 * @return the value of pub_service.service_code
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public String getServiceCode() {
		return serviceCode;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.service_code
	 *
	 * @param serviceCode
	 *            the value for pub_service.service_code
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode == null ? null : serviceCode.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.class_name
	 *
	 * @return the value of pub_service.class_name
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public String getClassName() {
		return className;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.class_name
	 *
	 * @param className
	 *            the value for pub_service.class_name
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setClassName(String className) {
		this.className = className == null ? null : className.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.import_example
	 *
	 * @return the value of pub_service.import_example
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public String getImportExample() {
		return importExample;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.import_example
	 *
	 * @param importExample
	 *            the value for pub_service.import_example
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setImportExample(String importExample) {
		this.importExample = importExample == null ? null : importExample.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.output_example
	 *
	 * @return the value of pub_service.output_example
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public String getOutputExample() {
		return outputExample;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.output_example
	 *
	 * @param outputExample
	 *            the value for pub_service.output_example
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setOutputExample(String outputExample) {
		this.outputExample = outputExample == null ? null : outputExample.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.call_count
	 *
	 * @return the value of pub_service.call_count
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public Integer getCallCount() {
		return callCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.call_count
	 *
	 * @param callCount
	 *            the value for pub_service.call_count
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setCallCount(Integer callCount) {
		this.callCount = callCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.status
	 *
	 * @return the value of pub_service.status
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.status
	 *
	 * @param status
	 *            the value for pub_service.status
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.comments
	 *
	 * @return the value of pub_service.comments
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public String getComments() {
		return comments;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.comments
	 *
	 * @param comments
	 *            the value for pub_service.comments
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setComments(String comments) {
		this.comments = comments == null ? null : comments.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.create_time
	 *
	 * @return the value of pub_service.create_time
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public String getCreateTime() {
		return createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.create_time
	 *
	 * @param createTime
	 *            the value for pub_service.create_time
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.create_name
	 *
	 * @return the value of pub_service.create_name
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public String getCreateName() {
		return createName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.create_name
	 *
	 * @param createName
	 *            the value for pub_service.create_name
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setCreateName(String createName) {
		this.createName = createName == null ? null : createName.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.update_time
	 *
	 * @return the value of pub_service.update_time
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public String getUpdateTime() {
		return updateTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.update_time
	 *
	 * @param updateTime
	 *            the value for pub_service.update_time
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column pub_service.update_name
	 *
	 * @return the value of pub_service.update_name
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public String getUpdateName() {
		return updateName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column pub_service.update_name
	 *
	 * @param updateName
	 *            the value for pub_service.update_name
	 *
	 * @mbg.generated Mon Jul 09 16:20:01 CST 2018
	 */
	public void setUpdateName(String updateName) {
		this.updateName = updateName == null ? null : updateName.trim();
	}
}